import { createApp } from 'vue'
import './style.css'
import App from './App.vue'
import router from './router'
import { List } from 'vant'
import { createPinia } from 'pinia'
const app = createApp(App)
// 创建 Pinia 实例
const pinia = createPinia()

// 使用插件
app.use(router)
app.use(pinia)  // 添加 Pinia 到应用
app.use(List)

app.mount('#app')

